<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title>nesteDDevelopment</title>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</h:head>
<h:body>
	<f:facet name="last">
		<h:outputStylesheet name="css/style.css" />
    </f:facet>

<h:form>
	<div align="center">
	<p:panelGrid columns="2">
	    <f:facet name="header">
	        Вход в систему
	    </f:facet>
	
	    <h:outputLabel for="user" value="Пользователь: " />
	    <p:inputText id="user" value="#{loginBean.user}" 
	    	label="user" 
	    	required="true" 
	    	requiredMessage="Введите пользователя"
	    	/>
	
	    <h:outputLabel for="password" value="Пароль: " />
	    <p:password id="password" value="#{loginBean.password}" label="password"/>
	
	    
	</p:panelGrid>
	<p:commandButton action="#{loginBean.doLogin}" value="Войти в систему" ajax="false" />
	<h:messages />    
	</div>
</h:form>





</h:body>

</html>